package com.easy.mapper;


import com.easy.bean.AdoptBookingBean;
import com.easy.util.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AdoptBookingDao {

    int add(@Param("param") AdoptBookingBean adoptBookingBean);

    int del(@Param("id") Integer id);

    int edit(@Param("param")AdoptBookingBean adoptBookingBean);

    AdoptBookingBean one(@Param("id")Integer id);

    List<AdoptBookingBean> all(@Param("param")AdoptBookingBean adoptBookingBean);

    int pageCount(@Param("param")AdoptBookingBean adoptBookingBean);

    List<AdoptBookingBean> page(@Param("page") Page page, @Param("param")AdoptBookingBean adoptBookingBean);

}
